This patch make xm reboot/shutdown work for vmx doamin.
authorKe Yu <ke.yu@intel.com>
Tue, 24 Jan 2006 16:58:43 +0000 (17:58 +0100)
committerKe Yu <ke.yu@intel.com>
Tue, 24 Jan 2006 16:58:43 +0000 (17:58 +0100)
commit33098e7fc421bc77dba7506366a627abe700aab0
tree9a55842f60a38cb00dd127f48a3ae47cf9a4ffc6
parent1c74b18b4d6e2b50ecc5476cbcf8a51583217bb2
This patch make xm reboot/shutdown work for vmx doamin.

xm reboot fails due to two issues:
1. no mechanism to change XendDomainInfo.info to trigger domain reboot
2. ioemu blkif parameter is missing during reboot, thus device model recreation will fail.

This patch fix these issues by
1. introducing a xswatch to monitor the control/shutdown node. once fired, it will change the XendDomainInfo.info to trigger domain reboot
2. saving the ioemu blkif parameter in xen store just like DomU does.

Signed-off-by: Yu Ke <ke.yu@intel.com>
tools/python/xen/xend/image.py
tools/python/xen/xend/server/blkif.py